﻿using System;
using System.Collections.Generic;


namespace advadev.CanOpen
{

    /// <summary>
    /// Represents a network management boot-up message received event
    /// argument
    /// </summary>
    public class NetworkManagementBootUpMessageReceivedEventArgs
    {

        /// <summary>
        /// Initializes a new instance of the
        /// NetworkManagementBootUpMessageReceivedEventArgs class by the given
        /// parameter
        /// </summary>
        /// <param name="nodeId">
        /// Node id
        /// </param>
        public NetworkManagementBootUpMessageReceivedEventArgs(byte nodeId)
        {
            NodeId = nodeId;
        }


        /// <summary>
        /// Gets the node id of the device sending the boot up message
        /// </summary>
        public byte NodeId
        {
            get;
            private set;
        }

    }

}
